
package com.hefei.customer.menu.mapper;

import java.util.List;

import com.hefei.api.customer.vo.SysMenu;
import com.hefei.api.customer.vo.easyui.PageHelper;
import com.hefei.customer.menu.po.Menu;



public interface MenuMapper {
	
	public List<Menu> listAllParentMenu();
	
	public List<Menu> listSubMenuByParentid(Integer parentid);
	
	public List<Menu> getDatagrid();
	
	public List<Menu> getAll(PageHelper page);

	public Long getDatagridTotal(Menu menu);

	public List<Menu> datagridMenu(PageHelper page);
	
	public SysMenu getMenuById(Integer menuId);
	
	public void insertMenu(Menu menu);
	
	public void updateMenu(Menu menu);
	
	public void deleteMenuById(Integer menuId);
	
	public List<Menu> listAllSubMenu();
}